package com.ly.heart.domain;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.IdType;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.experimental.Accessors;
import com.ly.common.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * 办公用品操作明细对象 erp_office_supplies_detail
 *
 * @author cxl
 * @date 2024-06-09
 */
@TableName ("erp_office_supplies_detail")
@ApiModel (value = "办公用品操作明细", description = "办公用品操作明细")
@Data
@Accessors(chain = true)
public class OfficeSuppliesDetailEntity {

    /** 主键id */
    @TableId (type = IdType.INPUT)
    private String id;

    /** 相关记录id */
    @ApiModelProperty ("相关记录id")
    @TableField ("record_id")
    @Excel (name = "相关记录id")
    private String recordId;

    /** 办公用品表id */
    @ApiModelProperty ("办公用品表id")
    @TableField ("office_supplies_id")
    @Excel (name = "办公用品表id")
    private String officeSuppliesId;

    /** 数量 */
    @ApiModelProperty ("数量")
    @TableField ("num")
    @Excel (name = "数量")
    private String num;

    /** 单价 */
    @ApiModelProperty ("单价")
    @TableField ("price")
    @Excel (name = "单价")
    private String price;

    /** 金额 */
    @ApiModelProperty ("金额")
    @TableField ("money")
    @Excel (name = "金额")
    private String money;

    /** 备注 */
    @ApiModelProperty ("备注")
    @TableField ("remark")
    @Excel (name = "备注")
    private String remark;

    /** 创建人 */
    @ApiModelProperty ("创建人")
    @TableField ("user_id")
    @Excel (name = "创建人")
    private String userId;

    /** 创建时间 */
    @ApiModelProperty ("创建时间")
    @TableField ("create_time")
    @JsonFormat (pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    /** 更新时间 */
    @ApiModelProperty ("更新时间")
    @TableField ("change_time")
    @JsonFormat (pattern = "yyyy-MM-dd HH:mm:ss")
    private Date changeTime;


    @ApiModelProperty ("逻辑删除")
    @TableField ("is_used")
    @Excel (name = "逻辑删除")
    private Integer isUsed;



}
